﻿using MediatR;
using Traceability.App.ErrorCode;

namespace Traceability.App.Api.Read.Application.Command.Trace
{
    public class UpdateCommand : IRequest<ApiResult<int>>
    {
        public int Id { get; set; }
        /// <summary>
        /// 商品id
        /// </summary>
        public int Sid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProduceBatch { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int Shelflife { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string ProduceNumber { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string Manufacturers { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public string DegreeinFormation { get; set; }
        /// <summary>
        /// 上传图片
        /// </summary>
        public string Img { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatePeople { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdatePeople { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
